export const columnsData = reactive([
  { fixed: "left", width: 50, type: "checkbox" },
  {
    fixed: "left",
    width: 100,
    title: "贷款类型",
    field: "payment_type",
  },
  {
    fixed: "left",
    title: "经办人",
    minWidth: 170,
    field: "agent_user",
  },
  {
    title: "物流商",
    width: 260,
    field: "logistics_name",
  },
  {
    title: "账期类型",
    width: 100,
    field: "settle_type",
  },
  {
    title: "贷款所属期",
    width: 100,
    field: "pay_period_month",
    slots: { default: "pay_month" },
  },
  { title: "贷款到期日", width: 160, field: "pay_due_date" },
  { title: "币种", width: 100, field: "pay_currency" },
  { title: "贷款总额", width: 160, field: "amount" },
  { title: "下周付款原币金额", width: 160, field: "amount" },
  { title: "汇率", width: 160, field: "exchange_rate" },
  {
    title: "下周付款人民币金额",
    width: 160,
    field: "amount_cny",
  },
  {
    title: "添加人",
    width: 170,
    field: "create_user",
  },
  {
    title: "添加时间",
    width: 170,
    field: "create_time",
  },
  {
    title: "期望付款日期",
    width: 170,
    field: "expected_pay_date",
  },
  {
    title: "付款主体",
    width: 200,
    field: "pay_main_company_name",
  },
  {
    title: "备注",
    width: 200,
    field: "remark",
  },
  {
    title: "状态",
    width: 100,
    field: "audit_status_label",
  },
  {
    title: "财务备注",
    width: 200,
    field: "audit_remark",
  },
  {
    field: "operation",
    title: "操作",
    width: 220,
    fixed: "right",
    slots: { default: "operation" },
  },
]);

export const columnsDataNext = reactive([
  { fixed: "left", width: 50, type: "checkbox" },
  {
    fixed: "left",
    width: 100,
    title: "贷款类型",
    field: "payment_type",
  },
  {
    fixed: "left",
    title: "经办人",
    width: 170,
    field: "agent_user",
  },
  {
    title: "物流商",
    minWidth: 260,
    field: "logistics_name",
  },
  {
    title: "结算类型",
    width: 100,
    field: "settle_type",
  },
  {
    title: "贷款所属期",
    width: 100,
    field: "",
    slots: {
      default: "pay_month",
    },
  },
  { title: "贷款到期日", width: 160, field: "pay_due_date" },
  { title: "币种", width: 100, field: "pay_currency" },
  { title: "贷款总额", width: 160, field: "amount" },
  { title: "汇率", width: 160, field: "exchange_rate" },
]);
export const columnsMonth = reactive([
  { fixed: "left", width: 50, type: "checkbox" },
  {
    fixed: "left",
    width: 100,
    title: "贷款类型",
    field: "payment_type",
  },
  {
    fixed: "left",
    title: "经办人",
    width: 170,
    field: "agent_user",
  },
  {
    title: "物流商",
    minWidth: 260,
    field: "logistics_name",
  },
  {
    title: "账期类型",
    width: 100,
    field: "settle_type",
  },
  {
    title: "贷款所属期",
    width: 200,
    field: "",
    slots: {
      default: "pay_month",
    },
  },
  { title: "贷款到期日", width: 160, field: "pay_due_date" },
  { title: "币种", width: 100, field: "pay_currency" },
  { title: "付款主体", minWidth: 160, field: "pay_main_company_name" },
  { title: "贷款总额", width: 160, field: "amount" },
  { title: "汇率", width: 160, field: "exchange_rate" },
]);
